package com.lujieni.springbootmybatis.config;

import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
@AutoConfigureBefore(MybatisPlusAutoConfiguration.class)
public class HelloConfig {

    public HelloConfig(){
        System.out.println("HelloConfig");
    }

    @Bean
    public String hello(){
        return "hello";
    }



}